package com.canplay.screen.db

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import java.io.Serializable

/**
 * 数据信息详情
 */
@Entity(tableName = "dateItem")
data class DataItem(
    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "id")
    val id: Long = 0,
    @ColumnInfo(name = "remark")
    val remark: String? = null,
    @ColumnInfo(name = "projectName")
    var projectName: String ?=null,
    @ColumnInfo(name = "projectPrice")
    val projectPrice: String? = null,
    @ColumnInfo(name = "unit")
    val unit: String? = null,

    @ColumnInfo(name = "department")
    val department: String? = null,
    @ColumnInfo(name = "chargeBasis")
    val chargeBasis: String? = null,
    @ColumnInfo(name = "versionId")
    val versionId: Int,
    @ColumnInfo(name = "updateTime")
    val updateTime: String? = null
) : Serializable
